package sau.diyizu.media.menu;

import androidx.annotation.DrawableRes;
import androidx.annotation.NonNull;

/**
 @author JYD
 @version 1.0
 @since 2020/12/16 20:18 */
public class MenuItem {
    @DrawableRes
    int iconRes;
    String name;
    OnMenuSelectedListener listener;

    public MenuItem(
            @DrawableRes int iconRes,
            @NonNull String name,
            @NonNull OnMenuSelectedListener listener
    ) {
        this.iconRes = iconRes;
        this.name = name;
        this.listener = listener;
    }

}